<template>
  <!-- 新增录入画面对话框-->
  <el-dialog title="即时转账业务查询明细" center :visible.sync="openState" width="1024px" :close-on-click-modal="false">
    <el-form ref="editForm" :model="form" label-width="130px" disabled>
      <!--交易础信息-->
      <el-card class="form-card txnInfo-card">
        <div slot="header" class="label-header-msg">
          <span>交易基础信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="交易流水号" prop="id">
              <el-input v-model="form.id" placeholder="交易流水号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="报文标识号" prop="pkgId">
              <el-input v-model="form.pkgId" placeholder="报文标识号" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="工作日期" prop="workdate">
              <el-date-picker
                v-model="form.workdate"
                type="date"
                value-format="yyyyMMdd"
                placeholder="工作日期"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="CPG日期" prop="cpgdate">
              <el-date-picker
                v-model="form.cpgdate"
                type="date"
                value-format="yyyyMMdd"
                placeholder="CPG日期"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="业务类型" prop="bizTypeCode">
              <el-select style="width: 100%;"
                         v-model="form.bizTypeCode===null||form.bizTypeCode===undefined?'':form.bizTypeCode+'-'+form.bizTypeCodeDesc"
                         placeholder="业务类型" :disabled="true"
              >

              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="业务种类" prop="bizCtgyCode">
              <el-select style="width: 100%;"
                         v-model="form.bizCtgyCode===null||form.bizCtgyCode===undefined?'':form.bizCtgyCode+'-'+form.bizCtgyCodeDesc"
                         placeholder="业务种类" :disabled="true"
              >

              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="来往账标志" prop="drct">
              <el-select v-model="form.drct" placeholder="来往账标志">
                <el-option
                  v-for="dict in dictMap.DRCTCODE"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="借贷标识" prop="cdIndicator">
              <el-select v-model="form.cdIndicator" placeholder="借贷标识">
                <el-option
                  v-for="dict in dictMap.CREDITDEBITCODE"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="清算日期" prop="clrDate">
              <el-date-picker
                v-model="form.clrDate"
                type="date"
                value-format="yyyyMMdd"
                placeholder="清算日期"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="内部机构号" prop="brno">
              <el-input v-model="form.brno" placeholder="内部机构号" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="特许参与者" prop="espOrg">
              <el-input v-model="form.espOrg" placeholder="特许参与者" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="特许参与者名称" prop="espOrgName">
              <el-input v-model="form.espOrgName" placeholder="特许参与者名称" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>

      <!--付款人信息-->
      <el-card class="form-card payerInfo-card">
        <div slot="header" class="label-header-msg">
          <span>付款人信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="付款人账号" prop="payerActno">
              <el-input v-model="form.payerActno" placeholder="付款人账号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="付款人名称" prop="payerName">
              <el-input v-model="form.payerName" placeholder="付款人名称" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="付款人地址" prop="payerAddr">
              <el-input v-model="form.payerAddr" placeholder="付款人地址" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <div class="grid-payer">
              <el-form-item label="付款行行号" prop="payerBrno">
                <el-input v-model="form.payerBrno" placeholder="付款行行号" />
              </el-form-item>
            </div>
          </el-col>

          <el-col :span="12">
            <el-form-item label="付款行行名" prop="payerBrname">
              <el-input v-model="form.payerBrname" placeholder="付款行行名" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <div class="grid-payer">
              <el-form-item label="付款人开户行号" prop="payerAccBrno">
                <el-input v-model="form.payerAccBrno" placeholder="付款人开户行行号" />
              </el-form-item>
            </div>
          </el-col>

          <el-col :span="12">
            <el-form-item label="付款人开户行行名" prop="payerAccBrname">
              <el-input v-model="form.payerAccBrname" placeholder="付款人开户行行名" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>

      <!--收款人信息-->
      <el-card class="form-card payeeInfo-card">
        <div slot="header" class="label-header-msg">
          <span>收款人信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <div class="grid-payee">
              <el-form-item label="收款人账号" prop="payeeActno">
                <el-input v-model="form.payeeActno" placeholder="收款人账号" />
              </el-form-item>
            </div>
          </el-col>
          <el-col :span="12">
            <el-form-item label="收款人名称" prop="payeeName">
              <el-input v-model="form.payeeName" placeholder="收款人名称" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="收款人地址" prop="payeeAddr">
              <el-input v-model="form.payeeAddr" placeholder="收款人地址" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <div class="grid-payee">
              <el-form-item label="收款行行号" prop="payeeBrno">
                <el-input v-model="form.payeeBrno" placeholder="收款行行号" :readonly="form.bizTypeCode === 'A202'" />
              </el-form-item>
            </div>
          </el-col>

          <el-col :span="12">
            <el-form-item label="收款行行名" prop="payeeBrname">
              <el-input v-model="form.payeeBrname" placeholder="收款行行名" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <div class="grid-payee">
              <el-form-item label="收款人开户行号" prop="payeeAccBrno">
                <el-input v-model="form.payeeAccBrno" placeholder="收款人开户行行号" />
              </el-form-item>
            </div>
          </el-col>

          <el-col :span="12">
            <el-form-item label="收款人开户行行名" prop="payeeAccBrname">
              <el-input v-model="form.payeeAccBrname" placeholder="收款人开户行行名" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>

      <!--其他信息-->
      <el-card class="form-card payOtherInfo-card">
        <div slot="header" class="label-header-msg">
          <span>其他交易信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="交易货币" prop="curcd">
              <el-input v-model="form.curcd" placeholder="交易货币" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="金额" prop="amount">
              <ht-amount-input v-model="form.amount" placeholder="金额" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <el-form-item label="备注" prop="content">
              <el-input type="textarea" v-model="form.content" placeholder="备注" maxlength="210" show-word-limit />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="中心状态" prop="procStatus">
              <el-select v-model="form.procStatus" placeholder="中心状态" style="width: 100%">
                <el-option
                  v-for="dict in dictMap.PROCESSSTATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="通讯状态" prop="status">
              <el-select v-model="form.status" placeholder="通讯状态" style="width: 100%">
                <el-option
                  v-for="dict in dictMap.PKG_STATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="报文接收时间" prop="rcvTime">
              <el-date-picker
                v-model="form.rcvTime"
                type="datetime"
                value-format="yyyyMMddHHmmss"
                placeholder="报文接收时间"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="三方协议号" prop="threeId">
              <el-input v-model="form.threeId" placeholder="三方协议号" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!--附加信息域 根据业务类型，动态显示或隐藏  G101-公开市场交易结算 “G102债券市场交易结算”、“G103债券发行、兑付及收益划拨”、“G111中期借贷便利”、“G110常备借贷便利”、“G114定向中期借贷便利  -->
      <el-card
        class="form-card payAddInfo-card"
        v-show="
          form.bizTypeCode === 'G101' ||
          form.bizTypeCode === 'G102' ||
          form.bizTypeCode === 'G103' ||
          form.bizTypeCode === 'G111' ||
          form.bizTypeCode === 'G110' ||
          form.bizTypeCode === 'G114'
        "
      >
        <div slot="header" class="label-header-msg">
          <span v-if="form.bizTypeCode === 'G101'">公开市场交易结算信息</span>
          <span v-else-if="form.bizTypeCode === 'G102'">债券市场交易结算信息</span>
          <span v-else-if="form.bizTypeCode === 'G103'">债券发行、兑付及收益划拨信息</span>
          <span v-else-if="form.bizTypeCode === 'G111'">中期借贷便利信息</span>
          <span v-else-if="form.bizTypeCode === 'G110'">常备借贷便利</span>
          <span v-else-if="form.bizTypeCode === 'G114'">定向中期借贷便利</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label=" 债券/央票代码" prop="bcCode">
              <el-input v-model="form.bcCode" placeholder=" 债券/央票代码" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="债券/央票面额" prop="bcAmt">
              <ht-amount-input v-model="form.bcAmt" placeholder="债券/央票面额" style="width: 100%"></ht-amount-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="净价金额" prop="netPriceAmt">
              <ht-amount-input v-model="form.netPriceAmt" placeholder="净价金额" style="width: 100%"></ht-amount-input>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="债券/央票利息" prop="bcInt">
              <el-input v-model="form.bcInt" placeholder="债券/央票利息" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="回购首期结算额" prop="repFirStAmt">
              <ht-amount-input
                v-model="form.repFirStAmt"
                placeholder="回购首期结算额"
                style="width: 100%"
              ></ht-amount-input>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="回购利息" prop="repInt">
              <el-input v-model="form.repInt" placeholder="回购利息" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="回购到期日" prop="repMaturity">
              <el-date-picker
                style="width: 165px"
                v-model="form.repMaturity"
                type="date"
                value-format="yyyyMMdd"
                placeholder="回购到期日"
              ></el-date-picker>
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!-- 附加信息域 根据业务类型，动态显示或隐藏  业务类型 外汇交易市场结算 G106  -->
      <el-card class="form-card payAddInfo-card" v-show="form.bizTypeCode === 'G106'">
        <div slot="header" class="label-header-msg">
          <span>外汇交易市场结算</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="外汇交易币种" prop="forexcur" label-width="150px">
              <el-input v-model="form.forexcur" placeholder="外汇交易币种" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!-- 附加信息域 根据业务类型，动态显示或隐藏  业务类型为“质押融资”业务种类为“融资支付”时需要添加以下项  G109 03501  -->
      <el-card class="form-card payAddInfo-card" v-show="form.bizTypeCode === 'G109' && form.bizCtgyCode === '03501'">
        <div slot="header" class="label-header-msg">
          <span>质押融资-融资支付信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="质押债券总面额" prop="bondTotalAmt">
              <ht-amount-input v-model="form.bondTotalAmt" placeholder="质押债券总面额"></ht-amount-input>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="业务状态" prop="bizStatus">
              <el-select v-model="form.bizStatus" placeholder="业务状态">
                <el-option
                  v-for="dict in dictMap.PROCESSSTATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="出质行行号" prop="pldgBrno">
              <el-input v-model="form.pldgBrno" placeholder="出质行行号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="出质行行名称" prop="pldgBrname">
              <el-input v-model="form.pldgBrname" placeholder="出质行行名称" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="原报文标识号" prop="oriPkgId">
              <el-input v-model="form.oriPkgId" placeholder="原报文标识号" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="原发起参与机构" prop="oriSender">
              <el-input v-model="form.oriSender" placeholder="原发起参与机构" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="原发起参与机构名称" prop="oriSendername">
              <el-input v-model="form.oriSendername" placeholder="原发起参与机构名称" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!-- 附加信息域 根据业务类型，动态显示或隐藏  业务类型为“质押融资”业务种类为“融资扣款”G109 03502-->
      <el-card class="form-card payAddInfo-card" v-show="form.bizTypeCode === 'G109' && form.bizCtgyCode === '03502'">
        <div slot="header" class="label-header-msg">
          <span>质押融资-融资扣款信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="融资本金" prop="financeAmt">
              <ht-amount-input v-model="form.financeAmt" placeholder="融资本金"></ht-amount-input>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="质押债券总面额" prop="bondTotalAmt">
              <ht-amount-input v-model="form.bondTotalAmt" placeholder="质押债券总面额"></ht-amount-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="出质行行号" prop="pldgBrno">
              <el-input v-model="form.pldgBrno" placeholder="出质行行号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="出质行行名称" prop="pldgBrname">
              <el-input v-model="form.pldgBrname" placeholder="出质行行名称" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="融资利息" prop="financeInt">
              <el-input v-model="form.financeInt" placeholder="融资利息" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="还款类型" prop="repayType">
              <el-select v-model="form.repayType" placeholder="还款类型">
                <el-option
                  v-for="dict in dictMap.PROCESSSTATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!-- 附加信息域 根据业务类型，动态显示或隐藏  业务类型为“央行票据互换”，业务种类为“央行票据互换首期 06501”或“央行票据互换到期” 06502时需要添加以下项 G115  -->
      <el-card
        class="form-card payAddInfo-card"
        v-show="form.bizTypeCode === 'G115' && (form.bizCtgyCode === '06502' || form.bizCtgyCode === '06501')"
      >
        <div slot="header" class="label-header-msg">
          <span>央行票据互换-央行票据互换首期(到期)信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="债券面额" prop="bondAmt">
              <ht-amount-input v-model="form.bondAmt" placeholder="债券面额"></ht-amount-input>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="央票代码" prop="bcCode">
              <el-input v-model="form.bcCode" placeholder="央票代码" />
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="央票面额" prop="bcAmt">
              <ht-amount-input v-model="form.bcAmt" placeholder="央票面额" style="width: 100%"></ht-amount-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="金融机构代码" prop="finCode">
              <el-input v-model="form.finCode" placeholder="金融机构代码" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="金融机构名称" prop="finName">
              <el-input v-model="form.finName" placeholder="金融机构名称" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="表外账号" prop="offBalAcno">
              <el-input v-model="form.offBalAcno" placeholder="表外账号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="表外账户名称" prop="offBalName">
              <el-input v-model="form.offBalName" placeholder="表外账户名称" />
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="互换费率（单位：0.01%）" prop="itchgRate" label-width="165px">
              <el-input v-model="form.itchgRate" placeholder="互换费率（单位：0.01%）" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="互换期限（单位：月）" prop="itchgDate" label-width="165px">
              <el-input v-model="form.itchgDate" placeholder="互换期限（单位：月）" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="到期结算日" prop="dueDate" label-width="165px">
              <el-date-picker
                style="width: 165px"
                v-model="form.dueDate"
                type="date"
                placeholder="到期结算日"
                value-format="yyyyMMdd"
              ></el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="债券结算合同号（首期）" prop="bondContract" label-width="165px">
              <el-input v-model="form.bondContract" placeholder="债券结算合同号（首期）" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!-- 附加信息域 根据业务类型，动态显示或隐藏  业务类型为“央行票据互换”，业务种类为“央行票据互换手续费 06503”时需要添加以下项G115 -->
      <el-card class="form-card payAddInfo-card" v-show="form.bizTypeCode === 'G115' && form.bizCtgyCode === '06503'">
        <div slot="header" class="label-header-msg">
          <span>央行票据互换-央行票据互换手续费信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="金融机构代码" prop="finCode">
              <el-input v-model="form.finCode" placeholder="金融机构代码" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="金融机构名称" prop="finName">
              <el-input v-model="form.finName" placeholder="金融机构名称" />
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="债券结算合同号（首期）" prop="bondContract" label-width="160px">
              <el-input v-model="form.bondContract" placeholder="债券结算合同号（首期）" style="width: 230px" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!-- 附加信息域 根据业务类型，动态显示或隐藏  当业务类型为“电子信用证线上清算”时需要添加以下项 G116 -->
      <el-card class="form-card payAddInfo-card" v-show="form.bizTypeCode === 'G116'">
        <div slot="header" class="label-header-msg">
          <span>电子信用证线上清算信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="开证行行号" prop="issueBrno">
              <el-input v-model="form.issueBrno" placeholder="开证行行号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="信用证编号" prop="lcNo">
              <el-input v-model="form.lcNo" placeholder="信用证编号" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="到单编号" prop="accptNo">
              <el-input v-model="form.accptNo" placeholder="到单编号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="交单行行号" prop="presentBrno">
              <el-input v-model="form.presentBrno" placeholder="交单行行号" />
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="寄单索款编号" prop="sigleBillNo" label-width="110px">
              <el-input v-model="form.sigleBillNo" placeholder="寄单索款编号" />
            </el-form-item>
          </el-col>
        </el-row>
      </el-card>
      <!--回执基本信息-->
      <el-card class="form-card txnInfo-card">
        <div slot="header" class="label-header-msg">
          <span>回执基本信息</span>
        </div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="系统流水号" prop="id">
              <el-input v-model="form.returnId" placeholder="系统流水号" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="报文标识号" prop="returnPkgId">
              <el-input v-model="form.returnPkgId" placeholder="报文标识号" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="工作日期" prop="returnWorkdate">
              <el-date-picker
                v-model="form.returnWorkdate"
                type="date"
                value-format="yyyyMMdd"
                placeholder="工作日期"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="CPG日期" prop="returncpgdate">
              <el-date-picker
                v-model="form.returncpgdate"
                type="date"
                value-format="yyyyMMdd"
                placeholder="CPG日期"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="来往账标志" prop="returnDrct">
              <el-select v-model="form.returnDrct" placeholder="来往账标志">
                <el-option
                  v-for="dict in dictMap.DRCTCODE"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="报文类型" prop="returnPkgNo">
              <el-select v-model="form.returnPkgNo" placeholder="借贷标识">
                <el-option
                  v-for="dict in dictMap.PKG_TYPE"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="系统编码" prop="returnSysCode">
              <el-input v-model="form.returnSysCode" placeholder="系统编码" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="回执明细成功总笔数" prop="returnSuccessNum">
              <el-input v-model="form.returnSuccessNum" placeholder="回执明细成功总笔数" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="回执明细成功总金额" prop="returnSuccessAmount">
              <el-input v-model="form.returnSuccessAmount" placeholder="回执明细成功总金额" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="直接发起参与者" prop="returnDirectSender">
              <el-input v-model="form.returnDirectSender" placeholder="直接发起参与者" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="直接发起参与者名称" prop="returnDirectSendername">
              <el-input v-model="form.returnDirectSendername" placeholder="直接发起参与者名称" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="业务回执状态" prop="returnStatus">
              <el-select v-model="form.returnStatus" placeholder="业务回执状态">
                <el-option
                  v-for="dict in dictMap.BIZRT_STATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="业务回执码" prop="returnCode">
              <el-input v-model="form.returnCode" placeholder="业务回执码" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <el-form-item label="业务拒绝信息" prop="returnInfo">
              <el-input v-model="form.returnInfo" placeholder="业务拒绝信息" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="业务状态" prop="returnTxnStatus">
              <el-select v-model="form.returnTxnStatus" placeholder="业务状态">
                <el-option
                  v-for="dict in dictMap.TXN_STATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="通讯状态" prop="returnComStatus">
              <el-select v-model="form.returnComStatus" placeholder="通讯状态">
                <el-option
                  v-for="dict in dictMap.PKG_STATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="中心状态" prop="returnProcStatus">
              <el-select v-model="form.returnProcStatus" placeholder="中心状态">
                <el-option
                  v-for="dict in dictMap.PROCESSSTATUS"
                  :key="dict.value"
                  :label="`${dict.value}-${dict.text}`"
                  :value="dict.value"
                ></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="业务处理码" prop="returnProcCode">
              <el-input v-model="form.returnProcCode" placeholder="业务处理码" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <el-form-item label="业务处理信息" prop="returnProcInfo">
              <el-input v-model="form.returnProcInfo" placeholder="业务处理信息" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="录入操作员" prop="returnMdTlrno">
              <el-input v-model="form.returnMdTlrno" placeholder="录入操作员" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="录入时间" prop="returnMdTime">
              <el-date-picker
                v-model="form.returnMdTime"
                type="datetime"
                value-format="yyyyMMddHHmmss"
                placeholder="录入时间"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="审核操作员" prop="returnAudTlrno">
              <el-input v-model="form.returnAudTlrno" placeholder="审核操作员" />
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="审核时间" prop="returnAudTime">
              <el-date-picker
                v-model="form.returnAudTime"
                type="datetime"
                value-format="yyyyMMddHHmmss"
                placeholder="审核时间"
                style="width: 100%"
              ></el-date-picker>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <div class="grid-otherInfo">
              <el-form-item label="审核附言" prop="audRemarks">
                <el-input type="textarea" v-model="form.returnAudRemarks" placeholder="审核附言" />
              </el-form-item>
            </div>
          </el-col>
        </el-row>
      </el-card>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="handleClose">关闭</el-button>
    </div>
  </el-dialog>
</template>
<script>
import { detail141 } from "@/api/cnaps/baseBiz/send/sendCommon.js";
import HtAmountInput from "@/views/components/HtAmountInput";
import HtAmountUpper from "@/views/components/HtAmountUpper";

export default {
  name: "queryDetail141002",
  components: {
    HtAmountInput,
    HtAmountUpper,
  },
  props: {
    dictMap: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {
      busTypeList: [],
      id: "",

      // 是否显示弹出层
      openState: false,
      // 表单参数
      form: {
        amount: "0.00",
      },
      // 表单校验
    };
  },
  mounted() {},
  methods: {
    // 表单重置
    reset() {
      this.resetForm("editForm");
      this.$set(this, "form", {});
    },
    // 关闭回掉
    handleClose(done) {
      this.openState = false;
    },

    show(id = "") {
      this.id = id;

      this.openState = true;
      // 如果传了ID 这里查询一个已经存在的数据
      detail141({
        id: this.id,
      }).then((res) => {
        this.$set(this, "form", res.result);
      });
    },
  },
};
</script>
<style>
.label-header-msg {
  font-weight: bold;
}

.form-card {
  margin-bottom: 10px;
}
</style>
